package com.athuiju.hr.service;

import com.athuiju.hr.entity.Performance;
import com.athuiju.hr.entity.vo.PerBilityVo;
import com.athuiju.hr.entity.vo.PerIdeaVo;
import com.athuiju.hr.entity.vo.PerformanceVo;
import com.athuiju.hr.entity.vo.PerformanceVoQuery;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzh
 * @since 2022-01-19
 */
public interface PerformanceService extends IService<Performance> {

    /*
    * 根据员工id查询员工绩效
    * */
    List<PerformanceVo> getByProId(String profilesid);

//    查询相同绩效工作理念信息
    List<Performance> getPerformance();



    /*
     * 绩效总览分页
     * */
    List<PerformanceVo> pageQuery(Page<PerformanceVo> pageSture, PerformanceVoQuery performanceVoQuery);


    /*
    * 删除工作能力绩效
    * */
    boolean updatePerById(String id);


    /*
    * 删除工作理念绩效
    * */
    boolean updatePerIdeaById(String id);


//    根据员工id查询员工工作理念绩效
    List<PerIdeaVo> getPerIdeaById(String id);

//    根据员工id查询员工工作能力绩效
    List<PerBilityVo> getPerBilityById(String id);
}
